%%******************************************************************************************
%% Replication code: figure plots
%% "Technological Rivalry and Optimal Dynamic Policy in an Open Economy"
%% by Bai, Jin, and Lu, May 2025
%%******************************************************************************************

%% Figure 1: Optimal Trade Policy, Allocations, and Prices under σ = 1
plot_ramsey_fig1;

%% Figure 2-3: Dynamic Technology Manipulation: Trade Policies, Foreign Prices and Innovation

plot_diff_ramsey_private_fig2_fig3;

%% Figure 4: Optimal Markov Polices: Two-Country, One-Sector

plot_markov_ramsey_fig4;
